#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import lxml.html
from readability import Document


def extract_summary(html):
    """Extracts content placed between html tags
    :param html: HTML string with text between tags
    :return: Text without HTML tags
    """
    html = Document(html).summary()
    return lxml.html.fromstring(html).text_content()
